[0, 1, 2, 3, 4].reduce(function (
  accumulator,
  currentValue,
  currentIndex,
  array
) {
  console.log(
    `
        accumulator,
        currentValue,
        currentIndex,
        array`,
    accumulator,
    currentValue,
    currentIndex,
    array
  );
  return accumulator + currentValue;
});
